﻿///***************************************************************
/// 시  스  템 : Updms.Com.Exe
/// 단위시스템 : COM
/// 계      층 : Execute Layer (Not Transaction)
/// 프로그램명 : Com1011m_NT
/// 파  일  명 : Com1011m_NT.cs
/// 설      명 : 프로그램관리
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2008-07-15 송시명   최초 작성
///***************************************************************
using System.Data;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;

namespace Updms.Com.Exe
{
	[ComVisible(true)]
	[Transaction(TransactionOption.NotSupported)]
	[JustInTimeActivation(true)]
	public class Com1011m_NT : Base.AppFramework.RuleBase
	{
		public Com1011m_NT()
		{
		}

		#region 메뉴 GetMenuList

		[AutoComplete]
		public DataSet GetMenuList(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetMenuList(lo_dp);
			}
		}
		
		#endregion

		#region 시스템 GetSystemList

		/// <summary>
		/// 등록된 시스템정보를 조회한다.
		/// </summary>
		[AutoComplete]
		public DataSet GetSystemList(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetSystemList(lo_dp);
			}
		} 

		#endregion

		#region 탭메뉴 GetTabMenu

		[AutoComplete]
		public DataSet GetTabMenu(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetTabMenu(lo_dp);
			}
		}
		
		#endregion 
		
		#region GetStartPageList
		/// <summary>
		/// Access_Level별 시작페이지 조회
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetStartPage(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetStartPage(lo_dp);
			}
		}
		
		#endregion
		
		#region GetSearchCount

		[AutoComplete]
		public int GetSearchCount(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetSearchCount(lo_dp);
			}
		}

		#endregion

		#region SelectProcess

		[AutoComplete]
		public DataSet SelectProcess(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.SelectProcess(lo_dp);
			}
		}

		#endregion

		#region GetUpdmsStoredprocedureList
		/// <summary>
		/// UPDMS에 등록된 스토어드프로시져 목록을 가져온다.
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetUpdmsStoredprocedureList(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetUpdmsStoredprocedureList(lo_dp);
			}
		}

		#endregion

		#region GetAllDirDepth
		/// <summary>
		/// 모든 디렉토리 정보를 가져온다.
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetAllDirDepth(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetAllDirDepth(lo_dp);
			}
		}

		#endregion

		#region GetSystemNPgmList
		/// <summary>
		/// 모든 시스템 및 프로그램 정보를 가져온다.
		/// </summary>
		/// <param name="ls_lang_set"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetSystemNPgmList(string ls_lang_set)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetSystemNPgmList(ls_lang_set);
			}
		}

		#endregion

		#region GetAccessLog
		/// <summary>
		/// 사용자별 접속로그 조회
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetAccessLog(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetAccessLog(lo_dp);
			}
		}

		#endregion

		#region GetPgmClassByAccessLevel
		/// <summary>
		/// 접근권한별 프로그램분류명 조회
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetPgmClassByAccessLevel(DataPack lo_dp)
		{
			_exeTimeLog.Prepare();

			using (Dac.Com_Dac_UPDMS_COM_PGM _dac = new Dac.Com_Dac_UPDMS_COM_PGM())
			{
				return _dac.GetPgmClassByAccessLevel(lo_dp);
			}
		}

		#endregion

	}
}
